package com.csht.service;

import java.util.List;

import com.csht.model.CshtGoodsImages;

/**
 * 商品图service
 * @author chenhuiyan
 *
 */
public interface CshtGoodsImagesService {

	/**
	 * 根据商品id查找对应的商品图片
	 * @param goodsId
	 * @return
	 * @throws Exception
	 */
	public List<CshtGoodsImages> getGoodsImagesByGoodsId(Integer goodsId) throws Exception;
	
	/**
	 * 添加商品图 
	 * @param cshtGoodsImages
	 * @throws Exception
	 */
	public void insertGoodsImages(CshtGoodsImages cshtGoodsImages) throws Exception;
}
